package messaging;

import java.util.List;

import javax.jms.JMSException;
import javax.jms.MessageListener;

public interface IMessagingHandler<T> extends MessageListener {
	
	public void put(T t) throws JMSException;
	
	public T get() throws JMSException;
	
	public void close() throws JMSException;
	
	public void setTargetQueue(String targetQueueName);
	
	public void setTargetQueues(List<String> targetQueueNames);
	
}
